package com.woniuxy.yoga.evaluate.model.exception;

public enum EvaluateExceptionCode {
    EVALUATE_EXCEPTION_CODE_ORDER_NOTBELONG(50001,"不是本人不能评价"),
    EVALUATE_EXCEPTION_CODE_EVALUATION_NOTEXISTS(50002,"该评价不存在"),
    EVALUATE_EXCEPTION_CODE_EVALUATION_NOTBELONG(50003,"该评价不属于该商家账号不能回复"),
    EVALUATE_EXCEPTION_CODE_EVALUATION_NOTBELONGYOU(50004,"该评价不属于你，禁止对其操作"),
    EVALUATE_EXCEPTION_CODE_USERACCOUNTSTATE_ERROR(50005,"用户账号状态有异常 不能进行此操作"),
    EVALUATE_EXCEPTION_CODE_ORDER_EVALUATED(50006,"该订单已被评价"),
    EVALUATE_EXCEPTION_CODE_EVALUATE_REPLYED(50007,"该评价已被回复");
    private Integer code;
    private String message;

    EvaluateExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
